package com.java.design.observer;


import com.java.design.observer.customer.CurrentConditionsDisplay;
import com.java.design.observer.customer.HeatIndexDisplay;
import com.java.design.observer.java_build_in.CurrentConditionsDisplayJava;
import com.java.design.observer.java_build_in.WeatherDataJava;

/**
 * @author Tony
 */
public class CustomerObserverJavaMain {

    public static void main(String[] args) {
        WeatherDataJava weatherData = new WeatherDataJava();
        CurrentConditionsDisplayJava currentConditionsDisplay = new CurrentConditionsDisplayJava(weatherData);
        weatherData.setMeasurements(80,65,30.4f);
        weatherData.setMeasurements(82,70,29.2f);
        weatherData.setMeasurements(78,90,29.2f);

    }
}
